package messagesPacks;

import files.MyFile;

public class TOCMessage extends GenericMessage
{
	private static final long serialVersionUID = 1L;
	private String fileName;
	private MyFile myfile;
	private String isbn;
	private Boolean success;
	
	public TOCMessage()
	{
		this.type = msgType.TOCMSG;
	}

	public TOCMessage(String isbn)
	{
		this.type = msgType.TOCMSG;
		this.setIsbn(isbn);
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public MyFile getMyfile() {
		return myfile;
	}

	public void setMyfile(MyFile myfile) {
		this.myfile = myfile;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public boolean getSuccess() {
		return this.success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

}